package com.dengyafei.exception;

import lombok.Data;

/**
 * @author 邓亚非
 */
@Data
public class BaseException extends RuntimeException {

    private int code;

    private String msg;

    public BaseException(int code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }


}